package com.haier.npt.sso.resources;

import java.util.List;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.haier.npt.common.JsonResult;
import com.haier.npt.security.domain.SysApp;


public interface SysAppCacheResource {
	
	/**
	 * 根据token获取对应的app
	 * @param token
	 * @return
	 */
	@RequestMapping(value="/internal/sysapps/getByToken",method= RequestMethod.GET)
	public JsonResult<List<SysApp>>  findAppByToken(@RequestParam(value="token" ,required=true)String token) ;  
}
